import type { RouteRecordRaw } from "vue-router";
import type { CategoryList } from "@/api/product/model/categoryModel";
import type {GetUserInfoApiResponse} from '@/api/cal/model/loginModel'

// 用户信息包括权限数据
export interface UserInfoState extends GetUserInfoApiResponse{
  token: string;
	// avatar: string;
	// name: string;

  menuRoutes: RouteRecordRaw[] // 用于生成导航菜单的路由列表
}


export interface Category {
  category1Id: number | undefined;
  category2Id: number | undefined;
  category3Id: number | undefined;
  category1List: CategoryList;
  category2List: CategoryList;
  category3List: CategoryList;
};


